package com.wtcrazy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtcrazy.entity.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AddressMapper extends BaseMapper<Address> {
    void userAdd(@Param("address") Address address);

    List<Address> getUserAll(@Param("uid") String uid);

    void modifyUserDefault(@Param("obj") Object obj);

    Address getUserDefault(@Param("uid") String uid);
}
